#ifndef MYLINEEDIT_H
#define MYLINEEDIT_H

#include <QLineEdit>

class MyLineEdit : public QLineEdit
{
    Q_OBJECT
public:
    explicit MyLineEdit(QWidget *parent = 0);
    
protected:
    void focusInEvent(QFocusEvent *);
    void mousePressEvent(QMouseEvent *);

signals:
    void valueChanged(QString,QLineEdit*);
public slots:
    void onValueChanged(QString);
};

#endif // MYLINEEDIT_H
